projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a729742
)
wayland: Disallow setting the cursor on the touch master pointer
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 19:06:07 +0000
(20:06 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Thu, 19 Nov 2015 22:26:48 +0000
(23:26 +0100)
That "pointer" is not backed by anything in the windowing system, ignore
cursor updates there.
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index eefd38cbc99e5fc06aad1dcd68d2ffc861b92add..58f5b9ef772f18b73c9f2a1b69e9bbb4124a4c47 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-283,6
+283,9
@@
gdk_wayland_device_set_window_cursor (GdkDevice *device,
{
GdkWaylandDeviceData *wd = GDK_WAYLAND_DEVICE (device)->device;
+ if (device == wd->touch_master)
+ return;
+
/* Setting the cursor to NULL means that we should use
* the default cursor
*/